package com.car.doamin;


import java.time.LocalDateTime;
import java.util.Date;

public class PurchaseRecord {
    private Integer id;
    private Integer cardId;
    private Integer userId;
    private Integer employeeId;
    private LocalDateTime purchaseDatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public LocalDateTime getpurchaseDatetime() {
        return purchaseDatetime;
    }

    public void setpurchaseDatetime(LocalDateTime purchaseDatetime) {
        this.purchaseDatetime = purchaseDatetime;
    }
    @Override
    public String toString() {
        return "PurchaseRecord{" +
                "id=" + id +
                ", cardId=" + cardId +
                ", userId=" + userId +
                ", employeeId=" + employeeId +
                ", purchaseDatetime=" + purchaseDatetime +
                '}';
    }
}
